namespace server.Extensions;
public class BookImportOptions{
    [Field(FieldType.Bool,"跳过标题行",true)]
    public bool Headless { get; set; }=false;
    [Field(FieldType.Integer,"序号列",false)]
    public int IdColumn {get;set;}=-1;
    [Field(FieldType.Integer,"书名列",true)]
    public int NameColumn { get; set; }
    [Field(FieldType.Integer,"出版社列",true)]
    public int PublisherColumn { get; set; }
    [Field(FieldType.Integer,"作者列",true)]
    public int AuthorColumn { get; set; }
    [Field(FieldType.Integer,"索引号列",true)]
    public int IndexColumn { get; set; }
    [Field(FieldType.Integer,"数量列",true)]
    public int CountColumn { get; set; }
    [Field(FieldType.Integer,"剩余数量列",false)]
    public int AvailableColumn { get; set; }=-1;
}